<?php
/**
 * Created by LíJimpéy(：
 * User: jimpey88
 * Date: 2024/3/26
 * Email: < jimpey@qq.com >
 * Project: company-admin-tp6
 */

namespace app\backend_api\validate;

use app\common\validate\BaseValidate;

/**
 * 登录验证
 * Class LoginValidate
 * @package app\adminapi\validate
 */
class LoginValidate extends BaseValidate
{
    protected $rule = [
        'name' => 'require',
        'password' => 'require|min:6',
        'image_key' => 'require',
        'image_captcha' => 'require'
    ];

    protected $message = [
        'name.require' => '请输入账号',
        'password.require' => '请输入密码',
        'password.min' => '密码至少6位'
    ];


}